package po;

import java.sql.Timestamp;

public class Orders {
	
	private Integer id;
	private String aid;
	private Integer did;
	private Integer oid;
	private Integer count;
	private Dish dish;
	private Timestamp otime;
	
	public Timestamp getOtime() {
		return otime;
	}
	public void setOtime(Timestamp otime) {
		this.otime = otime;
	}
	public Dish getDish() {
		return dish;
	}
	public void setDish(Dish dish) {
		this.dish = dish;
	}
	@Override
	public String toString() {
		return "Orders [id=" + id + ", aid=" + aid + ", did=" + did + ", oid=" + oid + ", count=" + count + "]";
	}
	public Orders(Integer id, String aid, Integer did, Integer oid, Integer count) {
		super();
		this.id = id;
		this.aid = aid;
		this.did = did;
		this.oid = oid;
		this.count = count;
	}
	public Orders() {
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getAid() {
		return aid;
	}
	public void setAid(String aid) {
		this.aid = aid;
	}
	public Integer getDid() {
		return did;
	}
	public void setDid(Integer did) {
		this.did = did;
	}
	public Integer getOid() {
		return oid;
	}
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	
	
}
